package com.han.decorator;

/**
 * @ClassName FriedRice
 * @Description 炒饭——具体构建角色
 * @Author duoduo Han
 * @Date 2024/6/6 21:23
 */
public class FriedRice extends FastFood {
    public FriedRice() {
        super(10, "炒饭");
    }
    @Override
    public float cost() {
        return getPrice();
    }
}
